package Test;

public class Student {
    public String name;
    public double math;
    public double chinese;

    public  Student(String name,double math,double chinese){
        this.name=name;
        this.math=math;
        this.chinese=chinese;
    }
    public void show(){
        System.out.println(name+"的语文成绩是"+chinese);
        System.out.println(name+"的数学成绩是"+math);
    }
}
